/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CBHPM")
public class CbhpmProteu implements Serializable{

    @Id
    @Column(name="CBH_ST_CODIGO")
    private String cbhStCodigo;
    @Column(name="CBH_IN_LINK_CODIGO")
    private Integer cbhInLinkCodigo;
    @Column(name="CBH_ST_PROCEDIMENTO")
    private String cbhStProcedimento;
    @Column(name="CBH_IN_VALOR")
    private Integer cbhInValor;
    @Column(name="CBH_FL_VALOR")
    private Float cbhFlValor;
    @Column(name="CBH_IN_NUM_ASSISTENCIA")
    private Integer cbhInNumAssistencia;
    @Column(name="CBH_IN_ANESTETICA")
    private Integer cbhInAnestetica;
    @Column(name="CBH_FL_FILME")
    private Float cbhFlFilme;
    @Column(name="CBH_IN_OCORRENCIA")
    private Integer cbhInOcorrencia;
    @Column(name="CBH_FL_CUSTO_OPERACIONAL_CH")
    private Float cbhFlCustoOperacionalCH;
    @Column(name="CBH_ST_UR")
    private String cbhStUR;


    public Float getCbhFlCustoOperacionalCH() {
        return cbhFlCustoOperacionalCH;
    }

    public void setCbhFlCustoOperacionalCH(Float cbhFlCustoOperacionalCH) {
        this.cbhFlCustoOperacionalCH = cbhFlCustoOperacionalCH;
    }

    public Float getCbhFlFilme() {
        return cbhFlFilme;
    }

    public void setCbhFlFilme(Float cbhFlFilme) {
        this.cbhFlFilme = cbhFlFilme;
    }

    public Float getCbhFlValor() {
        return cbhFlValor;
    }

    public void setCbhFlValor(Float cbhFlValor) {
        this.cbhFlValor = cbhFlValor;
    }

    public Integer getCbhInAnestetica() {
        return cbhInAnestetica;
    }

    public void setCbhInAnestetica(Integer cbhInAnestetica) {
        this.cbhInAnestetica = cbhInAnestetica;
    }

    public Integer getCbhInLinkCodigo() {
        return cbhInLinkCodigo;
    }

    public void setCbhInLinkCodigo(Integer cbhInLinkCodigo) {
        this.cbhInLinkCodigo = cbhInLinkCodigo;
    }

    public Integer getCbhInNumAssistencia() {
        return cbhInNumAssistencia;
    }

    public void setCbhInNumAssistencia(Integer cbhInNumAssistencia) {
        this.cbhInNumAssistencia = cbhInNumAssistencia;
    }

    public Integer getCbhInOcorrencia() {
        return cbhInOcorrencia;
    }

    public void setCbhInOcorrencia(Integer cbhInOcorrencia) {
        this.cbhInOcorrencia = cbhInOcorrencia;
    }

    public Integer getCbhInValor() {
        return cbhInValor;
    }

    public void setCbhInValor(Integer cbhInValor) {
        this.cbhInValor = cbhInValor;
    }

    public String getCbhStCodigo() {
        return cbhStCodigo;
    }

    public void setCbhStCodigo(String cbhStCodigo) {
        this.cbhStCodigo = cbhStCodigo;
    }

    public String getCbhStProcedimento() {
        return cbhStProcedimento;
    }

    public void setCbhStProcedimento(String cbhStProcedimento) {
        this.cbhStProcedimento = cbhStProcedimento;
    }

    public String getCbhStUR() {
        return cbhStUR;
    }

    public void setCbhStUR(String cbhStUR) {
        this.cbhStUR = cbhStUR;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final CbhpmProteu other = (CbhpmProteu) obj;
        if ((this.cbhStCodigo == null) ? (other.cbhStCodigo != null) : !this.cbhStCodigo.equals(other.cbhStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 73 * hash + (this.cbhStCodigo != null ? this.cbhStCodigo.hashCode() : 0);
        return hash;
    }



}
